{extend name="main/index" /}
{block name="main"}

<!-- Start right content -->
        <div class="content-page">
			<!-- ============================================================== -->
			<!-- Start Content here -->
			<!-- ============================================================== -->
            <div class="content">
								<!-- Page Heading Start -->
				<div class="page-heading">
            		<h1><i class='fa fa-check'></i> {$title}</h1>
            		            	</div>
            	<!-- Page Heading End-->	
				
				<div class="widget">
					<div class="widget-content padding">
						<form class="form-horizontal" role="form" action="/donode/" method="post">
						  <div class="form-group">
							<label class="col-sm-2 control-label">{$content}</label>
							<div class="col-sm-10">
								{volist name="nodelist" key="k" id="v"}
								<div class="checkbox">
								  <label>
									<input class = "ck" name="quanxian[]" type="checkbox" value="{$v['id']}" {:in_array($v['id'],$arr)?'checked':''}>{$v['name']}({$v['mname'].'/'.$v['aname']})
								  </label>
								</div>
								{/volist}
							</div>
						  </div>
						  <div class="form-group">
						  	<div class="col-sm-offset-2 col-sm-10">
								<input type="hidden" name="rid" value="{$rid}" id="user">
							</div>
						  </div>
						  <div class="form-group">
							  <div class="col-sm-offset-2 col-sm-10">
								<button type="submit" class="btn btn-default" id="baocun">保存</button>
							  </div>
						  </div>
						</form>
					</div>
				</div>
				<!-- End of your awesome content -->
			



				<!-- Footer Start -->
            <footer>
                Huban Creative &copy; 2014
                <div class="footer-links pull-right">
                	<a href="#">About</a><a href="#">Support</a><a href="#">Terms of Service</a><a href="#">Legal</a><a href="#">Help</a><a href="#">Contact Us</a>
                </div>
            </footer>
            <!-- Footer End -->			
            </div>
			<!-- ============================================================== -->
			<!-- End content here -->
			<!-- ============================================================== -->

        </div>
		<!-- End right content -->


{/block}